package com.poseidon.pokers.di;


import com.poseidon.pokers.ui.main.MainActivity;
import com.poseidon.pokers.ui.splash.SplashActivity;
import com.then.architecture.di.ActivityScope;

import dagger.Module;
import dagger.android.ContributesAndroidInjector;

/**
 * Created by 42524 on 2018/1/26.
 */
@Module
public abstract class ActivityModule {

    @ActivityScope
    @ContributesAndroidInjector()
    abstract MainActivity contributeMainActivity();

    @ActivityScope
    @ContributesAndroidInjector(modules = FragmentModule.class)
    abstract SplashActivity contributeSplashActivity();
}
